int32 len
uint8[] buf
